use std::io::{BufRead, Write};
use crate::directory_demo::directory_demo;
use crate::file_demo::file_demo_test;

mod file_demo;
mod directory_demo;

fn main() {
    // 获取当前文件的路径
    let file_path = file!();    // 当前文件路径: src/main.rs
    println!("Current file path: {}", file_path);

    file_demo_test();


    println!("====== Hello, world =======");
    directory_demo();
}